# 定义字符串
s = "AABCDEFGHHIJ"
# 使用切片取出'ABCDEFGH'
result = s[1:9]
# 打印结果
print(result)
